Integrand size = 16, antiderivative size = 154 \[ \int (c+d x)^2 \text {csch}^3(a+b x) \, dx=\frac {(c+d x)^2 \text {arctanh}\left (e^{a+b x}\right )}{b}-\frac {d^2 \text {arctanh}(\cosh (a+b x))}{b^3}-\frac {d (c+d x) \text {csch}(a+b x)}{b^2}-\frac {(c+d x)^2 \coth (a+b x) \text {csch}(a+b x)}{2 b}+\frac {d (c+d x) \operatorname {PolyLog}\left (2,-e^{a+b x}\right )}{b^2}-\frac {d (c+d x) \operatorname {PolyLog}\left (2,e^{a+b x}\right )}{b^2}-\frac {d^2 \operatorname {PolyLog}\left (3,-e^{a+b x}\right )}{b^3}+\frac {d^2 \operatorname {PolyLog}\left (3,e^{a+b x}\right )}{b^3} \]
(d*x+c)^2*arctanh(exp(b*x+a))/b-d^2*arctanh(cosh(b*x+a))/b^3-d*(d*x+c)*csc h(b*x+a)/b^2-1/2*(d*x+c)^2*coth(b*x+a)*csch(b*x+a)/b+d*(d*x+c)*polylog(2,- exp(b*x+a))/b^2-d*(d*x+c)*polylog(2,exp(b*x+a))/b^2-d^2*polylog(3,-exp(b*x +a))/b^3+d^2*polylog(3,exp(b*x+a))/b^3
Leaf count is larger than twice the leaf count of optimal. \(420\) vs. \(2(154)=308\).
Time = 6.24 (sec) , antiderivative size = 420, normalized size of antiderivative = 2.73 \[ \int (c+d x)^2 \text {csch}^3(a+b x) \, dx=-\frac {d (c+d x) \text {csch}(a)}{b^2}+\frac {\left (-c^2-2 c d x-d^2 x^2\right ) \text {csch}^2\left (\frac {a}{2}+\frac {b x}{2}\right )}{8 b}+\frac {-b^2 c^2 \log \left (1-e^{a+b x}\right )+2 d^2 \log \left (1-e^{a+b x}\right )-2 b^2 c d x \log \left (1-e^{a+b x}\right )-b^2 d^2 x^2 \log \left (1-e^{a+b x}\right )+b^2 c^2 \log \left (1+e^{a+b x}\right )-2 d^2 \log \left (1+e^{a+b x}\right )+2 b^2 c d x \log \left (1+e^{a+b x}\right )+b^2 d^2 x^2 \log \left (1+e^{a+b x}\right )+2 b d (c+d x) \operatorname {PolyLog}\left (2,-e^{a+b x}\right )-2 b d (c+d x) \operatorname {PolyLog}\left (2,e^{a+b x}\right )-2 d^2 \operatorname {PolyLog}\left (3,-e^{a+b x}\right )+2 d^2 \operatorname {PolyLog}\left (3,e^{a+b x}\right )}{2 b^3}+\frac {\left (-c^2-2 c d x-d^2 x^2\right ) \text {sech}^2\left (\frac {a}{2}+\frac {b x}{2}\right )}{8 b}+\frac {\text {csch}\left (\frac {a}{2}\right ) \text {csch}\left (\frac {a}{2}+\frac {b x}{2}\right ) \left (c d \sinh \left (\frac {b x}{2}\right )+d^2 x \sinh \left (\frac {b x}{2}\right )\right )}{2 b^2}+\frac {\text {sech}\left (\frac {a}{2}\right ) \text {sech}\left (\frac {a}{2}+\frac {b x}{2}\right ) \left (c d \sinh \left (\frac {b x}{2}\right )+d^2 x \sinh \left (\frac {b x}{2}\right )\right )}{2 b^2} \]
-((d*(c + d*x)*Csch[a])/b^2) + ((-c^2 - 2*c*d*x - d^2*x^2)*Csch[a/2 + (b*x )/2]^2)/(8*b) + (-(b^2*c^2*Log[1 - E^(a + b*x)]) + 2*d^2*Log[1 - E^(a + b* x)] - 2*b^2*c*d*x*Log[1 - E^(a + b*x)] - b^2*d^2*x^2*Log[1 - E^(a + b*x)] + b^2*c^2*Log[1 + E^(a + b*x)] - 2*d^2*Log[1 + E^(a + b*x)] + 2*b^2*c*d*x* Log[1 + E^(a + b*x)] + b^2*d^2*x^2*Log[1 + E^(a + b*x)] + 2*b*d*(c + d*x)* PolyLog[2, -E^(a + b*x)] - 2*b*d*(c + d*x)*PolyLog[2, E^(a + b*x)] - 2*d^2 *PolyLog[3, -E^(a + b*x)] + 2*d^2*PolyLog[3, E^(a + b*x)])/(2*b^3) + ((-c^ 2 - 2*c*d*x - d^2*x^2)*Sech[a/2 + (b*x)/2]^2)/(8*b) + (Csch[a/2]*Csch[a/2 + (b*x)/2]*(c*d*Sinh[(b*x)/2] + d^2*x*Sinh[(b*x)/2]))/(2*b^2) + (Sech[a/2] *Sech[a/2 + (b*x)/2]*(c*d*Sinh[(b*x)/2] + d^2*x*Sinh[(b*x)/2]))/(2*b^2)
Result contains complex when optimal does not.
Time = 0.74 (sec) , antiderivative size = 184, normalized size of antiderivative = 1.19, number of steps used = 12, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.688, Rules used = {3042, 26, 4674, 26, 3042, 26, 4257, 4670, 3011, 2720, 7143}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int (c+d x)^2 \text {csch}^3(a+b x) \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int -i (c+d x)^2 \csc (i a+i b x)^3dx\) |
\(\Big \downarrow \) 26 |
\(\displaystyle -i \int (c+d x)^2 \csc (i a+i b x)^3dx\) |
\(\Big \downarrow \) 4674 |
\(\displaystyle -i \left (-\frac {d^2 \int -i \text {csch}(a+b x)dx}{b^2}+\frac {1}{2} \int -i (c+d x)^2 \text {csch}(a+b x)dx-\frac {i d (c+d x) \text {csch}(a+b x)}{b^2}-\frac {i (c+d x)^2 \coth (a+b x) \text {csch}(a+b x)}{2 b}\right )\) |
\(\Big \downarrow \) 26 |
\(\displaystyle -i \left (\frac {i d^2 \int \text {csch}(a+b x)dx}{b^2}-\frac {1}{2} i \int (c+d x)^2 \text {csch}(a+b x)dx-\frac {i d (c+d x) \text {csch}(a+b x)}{b^2}-\frac {i (c+d x)^2 \coth (a+b x) \text {csch}(a+b x)}{2 b}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle -i \left (\frac {i d^2 \int i \csc (i a+i b x)dx}{b^2}-\frac {1}{2} i \int i (c+d x)^2 \csc (i a+i b x)dx-\frac {i d (c+d x) \text {csch}(a+b x)}{b^2}-\frac {i (c+d x)^2 \coth (a+b x) \text {csch}(a+b x)}{2 b}\right )\) |
\(\Big \downarrow \) 26 |
\(\displaystyle -i \left (-\frac {d^2 \int \csc (i a+i b x)dx}{b^2}+\frac {1}{2} \int (c+d x)^2 \csc (i a+i b x)dx-\frac {i d (c+d x) \text {csch}(a+b x)}{b^2}-\frac {i (c+d x)^2 \coth (a+b x) \text {csch}(a+b x)}{2 b}\right )\) |
\(\Big \downarrow \) 4257 |
\(\displaystyle -i \left (\frac {1}{2} \int (c+d x)^2 \csc (i a+i b x)dx-\frac {i d^2 \text {arctanh}(\cosh (a+b x))}{b^3}-\frac {i d (c+d x) \text {csch}(a+b x)}{b^2}-\frac {i (c+d x)^2 \coth (a+b x) \text {csch}(a+b x)}{2 b}\right )\) |
\(\Big \downarrow \) 4670 |
\(\displaystyle -i \left (\frac {1}{2} \left (\frac {2 i d \int (c+d x) \log \left (1-e^{a+b x}\right )dx}{b}-\frac {2 i d \int (c+d x) \log \left (1+e^{a+b x}\right )dx}{b}+\frac {2 i (c+d x)^2 \text {arctanh}\left (e^{a+b x}\right )}{b}\right )-\frac {i d^2 \text {arctanh}(\cosh (a+b x))}{b^3}-\frac {i d (c+d x) \text {csch}(a+b x)}{b^2}-\frac {i (c+d x)^2 \coth (a+b x) \text {csch}(a+b x)}{2 b}\right )\) |
\(\Big \downarrow \) 3011 |
\(\displaystyle -i \left (\frac {1}{2} \left (-\frac {2 i d \left (\frac {d \int \operatorname {PolyLog}\left (2,-e^{a+b x}\right )dx}{b}-\frac {(c+d x) \operatorname {PolyLog}\left (2,-e^{a+b x}\right )}{b}\right )}{b}+\frac {2 i d \left (\frac {d \int \operatorname {PolyLog}\left (2,e^{a+b x}\right )dx}{b}-\frac {(c+d x) \operatorname {PolyLog}\left (2,e^{a+b x}\right )}{b}\right )}{b}+\frac {2 i (c+d x)^2 \text {arctanh}\left (e^{a+b x}\right )}{b}\right )-\frac {i d^2 \text {arctanh}(\cosh (a+b x))}{b^3}-\frac {i d (c+d x) \text {csch}(a+b x)}{b^2}-\frac {i (c+d x)^2 \coth (a+b x) \text {csch}(a+b x)}{2 b}\right )\) |
\(\Big \downarrow \) 2720 |
\(\displaystyle -i \left (\frac {1}{2} \left (-\frac {2 i d \left (\frac {d \int e^{-a-b x} \operatorname {PolyLog}\left (2,-e^{a+b x}\right )de^{a+b x}}{b^2}-\frac {(c+d x) \operatorname {PolyLog}\left (2,-e^{a+b x}\right )}{b}\right )}{b}+\frac {2 i d \left (\frac {d \int e^{-a-b x} \operatorname {PolyLog}\left (2,e^{a+b x}\right )de^{a+b x}}{b^2}-\frac {(c+d x) \operatorname {PolyLog}\left (2,e^{a+b x}\right )}{b}\right )}{b}+\frac {2 i (c+d x)^2 \text {arctanh}\left (e^{a+b x}\right )}{b}\right )-\frac {i d^2 \text {arctanh}(\cosh (a+b x))}{b^3}-\frac {i d (c+d x) \text {csch}(a+b x)}{b^2}-\frac {i (c+d x)^2 \coth (a+b x) \text {csch}(a+b x)}{2 b}\right )\) |
\(\Big \downarrow \) 7143 |
\(\displaystyle -i \left (-\frac {i d^2 \text {arctanh}(\cosh (a+b x))}{b^3}+\frac {1}{2} \left (\frac {2 i (c+d x)^2 \text {arctanh}\left (e^{a+b x}\right )}{b}-\frac {2 i d \left (\frac {d \operatorname {PolyLog}\left (3,-e^{a+b x}\right )}{b^2}-\frac {(c+d x) \operatorname {PolyLog}\left (2,-e^{a+b x}\right )}{b}\right )}{b}+\frac {2 i d \left (\frac {d \operatorname {PolyLog}\left (3,e^{a+b x}\right )}{b^2}-\frac {(c+d x) \operatorname {PolyLog}\left (2,e^{a+b x}\right )}{b}\right )}{b}\right )-\frac {i d (c+d x) \text {csch}(a+b x)}{b^2}-\frac {i (c+d x)^2 \coth (a+b x) \text {csch}(a+b x)}{2 b}\right )\) |
(-I)*(((-I)*d^2*ArcTanh[Cosh[a + b*x]])/b^3 - (I*d*(c + d*x)*Csch[a + b*x] )/b^2 - ((I/2)*(c + d*x)^2*Coth[a + b*x]*Csch[a + b*x])/b + (((2*I)*(c + d *x)^2*ArcTanh[E^(a + b*x)])/b - ((2*I)*d*(-(((c + d*x)*PolyLog[2, -E^(a + b*x)])/b) + (d*PolyLog[3, -E^(a + b*x)])/b^2))/b + ((2*I)*d*(-(((c + d*x)* PolyLog[2, E^(a + b*x)])/b) + (d*PolyLog[3, E^(a + b*x)])/b^2))/b)/2)
3.1.10.3.1 Defintions of rubi rules used
Int[(Complex[0, a_])*(Fx_), x_Symbol] :> Simp[(Complex[Identity[0], a]) I nt[Fx, x], x] /; FreeQ[a, x] && EqQ[a^2, 1]
Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Simp[v/D[v, x] Subst[Int[FunctionOfExponentialFunction[u, x]/x, x], x, v], x]] /; Funct ionOfExponentialQ[u, x] && !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; FreeQ [{a, m, n}, x] && IntegerQ[m*n]] && !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x)) *(F_)[v_] /; FreeQ[{a, b, c}, x] && InverseFunctionQ[F[x]]]
Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.) *(x_))^(m_.), x_Symbol] :> Simp[(-(f + g*x)^m)*(PolyLog[2, (-e)*(F^(c*(a + b*x)))^n]/(b*c*n*Log[F])), x] + Simp[g*(m/(b*c*n*Log[F])) Int[(f + g*x)^( m - 1)*PolyLog[2, (-e)*(F^(c*(a + b*x)))^n], x], x] /; FreeQ[{F, a, b, c, e , f, g, n}, x] && GtQ[m, 0]
Int[csc[(c_.) + (d_.)*(x_)], x_Symbol] :> Simp[-ArcTanh[Cos[c + d*x]]/d, x] /; FreeQ[{c, d}, x]
Int[csc[(e_.) + (Complex[0, fz_])*(f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x _Symbol] :> Simp[-2*(c + d*x)^m*(ArcTanh[E^((-I)*e + f*fz*x)]/(f*fz*I)), x] + (-Simp[d*(m/(f*fz*I)) Int[(c + d*x)^(m - 1)*Log[1 - E^((-I)*e + f*fz*x )], x], x] + Simp[d*(m/(f*fz*I)) Int[(c + d*x)^(m - 1)*Log[1 + E^((-I)*e + f*fz*x)], x], x]) /; FreeQ[{c, d, e, f, fz}, x] && IGtQ[m, 0]
Int[(csc[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((c_.) + (d_.)*(x_))^(m_), x_Symbo l] :> Simp[(-b^2)*(c + d*x)^m*Cot[e + f*x]*((b*Csc[e + f*x])^(n - 2)/(f*(n - 1))), x] + (-Simp[b^2*d*m*(c + d*x)^(m - 1)*((b*Csc[e + f*x])^(n - 2)/(f^ 2*(n - 1)*(n - 2))), x] + Simp[b^2*d^2*m*((m - 1)/(f^2*(n - 1)*(n - 2))) Int[(c + d*x)^(m - 2)*(b*Csc[e + f*x])^(n - 2), x], x] + Simp[b^2*((n - 2)/ (n - 1)) Int[(c + d*x)^m*(b*Csc[e + f*x])^(n - 2), x], x]) /; FreeQ[{b, c , d, e, f}, x] && GtQ[n, 1] && NeQ[n, 2] && GtQ[m, 1]
Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_S ymbol] :> Simp[PolyLog[n + 1, c*(a + b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d , e, n, p}, x] && EqQ[b*d, a*e]
Leaf count of result is larger than twice the leaf count of optimal. \(443\) vs. \(2(147)=294\).
Time = 0.94 (sec) , antiderivative size = 444, normalized size of antiderivative = 2.88
method | result | size |
risch | \(-\frac {{\mathrm e}^{b x +a} \left ({\mathrm e}^{2 b x +2 a} b \,d^{2} x^{2}+2 \,{\mathrm e}^{2 b x +2 a} b c d x +{\mathrm e}^{2 b x +2 a} b \,c^{2}+b \,d^{2} x^{2}+2 \,{\mathrm e}^{2 b x +2 a} d^{2} x +2 b c d x +2 \,{\mathrm e}^{2 b x +2 a} c d +c^{2} b -2 x \,d^{2}-2 c d \right )}{b^{2} \left ({\mathrm e}^{2 b x +2 a}-1\right )^{2}}+\frac {d^{2} \ln \left (1-{\mathrm e}^{b x +a}\right ) a^{2}}{2 b^{3}}-\frac {d^{2} \ln \left ({\mathrm e}^{b x +a}+1\right ) a^{2}}{2 b^{3}}+\frac {a^{2} d^{2} \operatorname {arctanh}\left ({\mathrm e}^{b x +a}\right )}{b^{3}}+\frac {c^{2} \operatorname {arctanh}\left ({\mathrm e}^{b x +a}\right )}{b}-\frac {2 d^{2} \operatorname {arctanh}\left ({\mathrm e}^{b x +a}\right )}{b^{3}}-\frac {2 a c d \,\operatorname {arctanh}\left ({\mathrm e}^{b x +a}\right )}{b^{2}}-\frac {c d \ln \left (1-{\mathrm e}^{b x +a}\right ) x}{b}+\frac {d^{2} \operatorname {polylog}\left (3, {\mathrm e}^{b x +a}\right )}{b^{3}}-\frac {d^{2} \operatorname {polylog}\left (3, -{\mathrm e}^{b x +a}\right )}{b^{3}}-\frac {c d \ln \left (1-{\mathrm e}^{b x +a}\right ) a}{b^{2}}+\frac {c d \ln \left ({\mathrm e}^{b x +a}+1\right ) x}{b}+\frac {c d \ln \left ({\mathrm e}^{b x +a}+1\right ) a}{b^{2}}-\frac {d^{2} \ln \left (1-{\mathrm e}^{b x +a}\right ) x^{2}}{2 b}-\frac {d^{2} \operatorname {polylog}\left (2, {\mathrm e}^{b x +a}\right ) x}{b^{2}}+\frac {d^{2} \ln \left ({\mathrm e}^{b x +a}+1\right ) x^{2}}{2 b}+\frac {d^{2} \operatorname {polylog}\left (2, -{\mathrm e}^{b x +a}\right ) x}{b^{2}}-\frac {c d \operatorname {polylog}\left (2, {\mathrm e}^{b x +a}\right )}{b^{2}}+\frac {c d \operatorname {polylog}\left (2, -{\mathrm e}^{b x +a}\right )}{b^{2}}\) | \(444\) |
-exp(b*x+a)*(exp(2*b*x+2*a)*b*d^2*x^2+2*exp(2*b*x+2*a)*b*c*d*x+exp(2*b*x+2 *a)*b*c^2+b*d^2*x^2+2*exp(2*b*x+2*a)*d^2*x+2*b*c*d*x+2*exp(2*b*x+2*a)*c*d+ c^2*b-2*x*d^2-2*c*d)/b^2/(exp(2*b*x+2*a)-1)^2+1/2/b^3*d^2*ln(1-exp(b*x+a)) *a^2-1/2/b^3*d^2*ln(exp(b*x+a)+1)*a^2+1/b^3*a^2*d^2*arctanh(exp(b*x+a))+1/ b*c^2*arctanh(exp(b*x+a))-2/b^3*d^2*arctanh(exp(b*x+a))-2/b^2*a*c*d*arctan h(exp(b*x+a))-1/b*c*d*ln(1-exp(b*x+a))*x+d^2*polylog(3,exp(b*x+a))/b^3-d^2 *polylog(3,-exp(b*x+a))/b^3-1/b^2*c*d*ln(1-exp(b*x+a))*a+1/b*c*d*ln(exp(b* x+a)+1)*x+1/b^2*c*d*ln(exp(b*x+a)+1)*a-1/2/b*d^2*ln(1-exp(b*x+a))*x^2-1/b^ 2*d^2*polylog(2,exp(b*x+a))*x+1/2/b*d^2*ln(exp(b*x+a)+1)*x^2+1/b^2*d^2*pol ylog(2,-exp(b*x+a))*x-1/b^2*c*d*polylog(2,exp(b*x+a))+1/b^2*c*d*polylog(2, -exp(b*x+a))
Leaf count of result is larger than twice the leaf count of optimal. 2218 vs. \(2 (145) = 290\).
Time = 0.29 (sec) , antiderivative size = 2218, normalized size of antiderivative = 14.40 \[ \int (c+d x)^2 \text {csch}^3(a+b x) \, dx=\text {Too large to display} \]
-1/2*(2*(b^2*d^2*x^2 + b^2*c^2 + 2*b*c*d + 2*(b^2*c*d + b*d^2)*x)*cosh(b*x + a)^3 + 6*(b^2*d^2*x^2 + b^2*c^2 + 2*b*c*d + 2*(b^2*c*d + b*d^2)*x)*cosh (b*x + a)*sinh(b*x + a)^2 + 2*(b^2*d^2*x^2 + b^2*c^2 + 2*b*c*d + 2*(b^2*c* d + b*d^2)*x)*sinh(b*x + a)^3 + 2*(b^2*d^2*x^2 + b^2*c^2 - 2*b*c*d + 2*(b^ 2*c*d - b*d^2)*x)*cosh(b*x + a) + 2*((b*d^2*x + b*c*d)*cosh(b*x + a)^4 + 4 *(b*d^2*x + b*c*d)*cosh(b*x + a)*sinh(b*x + a)^3 + (b*d^2*x + b*c*d)*sinh( b*x + a)^4 + b*d^2*x + b*c*d - 2*(b*d^2*x + b*c*d)*cosh(b*x + a)^2 - 2*(b* d^2*x + b*c*d - 3*(b*d^2*x + b*c*d)*cosh(b*x + a)^2)*sinh(b*x + a)^2 + 4*( (b*d^2*x + b*c*d)*cosh(b*x + a)^3 - (b*d^2*x + b*c*d)*cosh(b*x + a))*sinh( b*x + a))*dilog(cosh(b*x + a) + sinh(b*x + a)) - 2*((b*d^2*x + b*c*d)*cosh (b*x + a)^4 + 4*(b*d^2*x + b*c*d)*cosh(b*x + a)*sinh(b*x + a)^3 + (b*d^2*x + b*c*d)*sinh(b*x + a)^4 + b*d^2*x + b*c*d - 2*(b*d^2*x + b*c*d)*cosh(b*x + a)^2 - 2*(b*d^2*x + b*c*d - 3*(b*d^2*x + b*c*d)*cosh(b*x + a)^2)*sinh(b *x + a)^2 + 4*((b*d^2*x + b*c*d)*cosh(b*x + a)^3 - (b*d^2*x + b*c*d)*cosh( b*x + a))*sinh(b*x + a))*dilog(-cosh(b*x + a) - sinh(b*x + a)) - (b^2*d^2* x^2 + 2*b^2*c*d*x + (b^2*d^2*x^2 + 2*b^2*c*d*x + b^2*c^2 - 2*d^2)*cosh(b*x + a)^4 + 4*(b^2*d^2*x^2 + 2*b^2*c*d*x + b^2*c^2 - 2*d^2)*cosh(b*x + a)*si nh(b*x + a)^3 + (b^2*d^2*x^2 + 2*b^2*c*d*x + b^2*c^2 - 2*d^2)*sinh(b*x + a )^4 + b^2*c^2 - 2*(b^2*d^2*x^2 + 2*b^2*c*d*x + b^2*c^2 - 2*d^2)*cosh(b*x + a)^2 - 2*(b^2*d^2*x^2 + 2*b^2*c*d*x + b^2*c^2 - 3*(b^2*d^2*x^2 + 2*b^2...
\[ \int (c+d x)^2 \text {csch}^3(a+b x) \, dx=\int \left (c + d x\right )^{2} \operatorname {csch}^{3}{\left (a + b x \right )}\, dx \]
Leaf count of result is larger than twice the leaf count of optimal. 393 vs. \(2 (145) = 290\).
Time = 0.34 (sec) , antiderivative size = 393, normalized size of antiderivative = 2.55 \[ \int (c+d x)^2 \text {csch}^3(a+b x) \, dx=\frac {1}{2} \, c^{2} {\left (\frac {\log \left (e^{\left (-b x - a\right )} + 1\right )}{b} - \frac {\log \left (e^{\left (-b x - a\right )} - 1\right )}{b} + \frac {2 \, {\left (e^{\left (-b x - a\right )} + e^{\left (-3 \, b x - 3 \, a\right )}\right )}}{b {\left (2 \, e^{\left (-2 \, b x - 2 \, a\right )} - e^{\left (-4 \, b x - 4 \, a\right )} - 1\right )}}\right )} + \frac {{\left (b x \log \left (e^{\left (b x + a\right )} + 1\right ) + {\rm Li}_2\left (-e^{\left (b x + a\right )}\right )\right )} c d}{b^{2}} - \frac {{\left (b x \log \left (-e^{\left (b x + a\right )} + 1\right ) + {\rm Li}_2\left (e^{\left (b x + a\right )}\right )\right )} c d}{b^{2}} - \frac {{\left (b d^{2} x^{2} e^{\left (3 \, a\right )} + 2 \, c d e^{\left (3 \, a\right )} + 2 \, {\left (b c d + d^{2}\right )} x e^{\left (3 \, a\right )}\right )} e^{\left (3 \, b x\right )} + {\left (b d^{2} x^{2} e^{a} - 2 \, c d e^{a} + 2 \, {\left (b c d - d^{2}\right )} x e^{a}\right )} e^{\left (b x\right )}}{b^{2} e^{\left (4 \, b x + 4 \, a\right )} - 2 \, b^{2} e^{\left (2 \, b x + 2 \, a\right )} + b^{2}} + \frac {{\left (b^{2} x^{2} \log \left (e^{\left (b x + a\right )} + 1\right ) + 2 \, b x {\rm Li}_2\left (-e^{\left (b x + a\right )}\right ) - 2 \, {\rm Li}_{3}(-e^{\left (b x + a\right )})\right )} d^{2}}{2 \, b^{3}} - \frac {{\left (b^{2} x^{2} \log \left (-e^{\left (b x + a\right )} + 1\right ) + 2 \, b x {\rm Li}_2\left (e^{\left (b x + a\right )}\right ) - 2 \, {\rm Li}_{3}(e^{\left (b x + a\right )})\right )} d^{2}}{2 \, b^{3}} - \frac {d^{2} \log \left (e^{\left (b x + a\right )} + 1\right )}{b^{3}} + \frac {d^{2} \log \left (e^{\left (b x + a\right )} - 1\right )}{b^{3}} \]
1/2*c^2*(log(e^(-b*x - a) + 1)/b - log(e^(-b*x - a) - 1)/b + 2*(e^(-b*x - a) + e^(-3*b*x - 3*a))/(b*(2*e^(-2*b*x - 2*a) - e^(-4*b*x - 4*a) - 1))) + (b*x*log(e^(b*x + a) + 1) + dilog(-e^(b*x + a)))*c*d/b^2 - (b*x*log(-e^(b* x + a) + 1) + dilog(e^(b*x + a)))*c*d/b^2 - ((b*d^2*x^2*e^(3*a) + 2*c*d*e^ (3*a) + 2*(b*c*d + d^2)*x*e^(3*a))*e^(3*b*x) + (b*d^2*x^2*e^a - 2*c*d*e^a + 2*(b*c*d - d^2)*x*e^a)*e^(b*x))/(b^2*e^(4*b*x + 4*a) - 2*b^2*e^(2*b*x + 2*a) + b^2) + 1/2*(b^2*x^2*log(e^(b*x + a) + 1) + 2*b*x*dilog(-e^(b*x + a) ) - 2*polylog(3, -e^(b*x + a)))*d^2/b^3 - 1/2*(b^2*x^2*log(-e^(b*x + a) + 1) + 2*b*x*dilog(e^(b*x + a)) - 2*polylog(3, e^(b*x + a)))*d^2/b^3 - d^2*l og(e^(b*x + a) + 1)/b^3 + d^2*log(e^(b*x + a) - 1)/b^3
\[ \int (c+d x)^2 \text {csch}^3(a+b x) \, dx=\int { {\left (d x + c\right )}^{2} \operatorname {csch}\left (b x + a\right )^{3} \,d x } \]
Timed out. \[ \int (c+d x)^2 \text {csch}^3(a+b x) \, dx=\int \frac {{\left (c+d\,x\right )}^2}{{\mathrm {sinh}\left (a+b\,x\right )}^3} \,d x \]